/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csse3004.GD.PAdmin;

import java.util.ArrayList;

/**
 *
 * @author Mamdouh Alharbi 4194298
 */
public class AssignPollCreatorData {
    
    private int pollCreatorID;
    private String creatorName;
    private String email;
    private String location;
    private String organisation;
    
    public void setPollCreatorID(int pollCreatorID){
        this.pollCreatorID=pollCreatorID;
    }
    
    public int getPollCreatorID(){
        return pollCreatorID;
    }
    
    public void setCreatorName(String creatorName){
        this.creatorName=creatorName;
    }
    
    public String getCreatorName(){
        return creatorName;
    }
    
    public void setEmail(String email){
        this.email=email;
    }
    
    public String getEmail(){
        return email;
    }
   
    public void setLocation(String location){
        this.location=location;
    }
    
    public String getLocation(){
        return location;
    }
    
    public void setOrganisation(String organisation){
        this.organisation=organisation;
    }
    
    public String getOrganisation(){
        return organisation;
    }
    
    
    public static ArrayList<AssignPollCreatorData> genTempData(){
        ArrayList<AssignPollCreatorData> array = new ArrayList();
        
        AssignPollCreatorData data = new AssignPollCreatorData();
        data.setPollCreatorID(1);
        data.setCreatorName("Mamdouh");
        data.setEmail("Mamdouh@hotmail.com");
        data.setLocation("Brisbane");
        data.setOrganisation("UQ");
        
        AssignPollCreatorData data1 = new AssignPollCreatorData();
        data1.setPollCreatorID(2);
        data1.setCreatorName("Tom");
        data1.setEmail("Tom@hotmail.com");
        data1.setLocation("Brisbane");
        data1.setOrganisation("UQ");
        
        AssignPollCreatorData data2 = new AssignPollCreatorData();
        data2.setPollCreatorID(3);
        data2.setCreatorName("Emily");
        data2.setEmail("Emily@hotmail.com");
        data2.setLocation("Brisbane");
        data2.setOrganisation("UQ");
        
        
        array.add(data);
        array.add(data1);
        array.add(data2);
        
        
        return array;
    }
    
}
